package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Student;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface StudentService extends IService<Student> {
    Student getByStudentNo(String studentNo);
    boolean updatePhysicalExamData(Long id, String physicalExamData);
    Student getByIpAddress(String ipAddress);

    /**
     * 从Excel文件导入学生数据
     * @param schoolId 学校ID
     * @param file Excel文件
     */
    void importStudentsFromExcel(Long schoolId, MultipartFile file);
} 